Resursbank\EcomTest\Unit\Module\PaymentMethod\Models\PaymentMethodTest S

Total Complexity 20
Dependencies 8
Dependents 0
Total lines 314
Lines of code 119
Logical lines of code 40
Comment lines 136
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
convert()
S
62 2 12
testLegalLinksWasAssigned()
S
62 2 11
setUp()
S
56 1 20
testLegalLinksMayBeEmpty()
S
67 1 8
testMaxApplicationLimitWasAssigned()
S
69 1 7
testValidateMaxApplicationLimitThrowsWithNegativeValue()
S
74 1 4
testMinApplicationLimitWasAssigned()
S
69 1 7
testValidateMinApplicationLimitThrowsWithNegativeValue()
S
74 1 4
testMaxPurchaseLimitWasAssigned()
S
69 1 7
testValidateMaxPurchaseLimitThrowsWithNegativeValue()
S
74 1 4
testMinPurchaseLimitWasAssigned()
S
69 1 7
testValidateMinPurchaseLimitThrowsWithNegativeValue()
S
74 1 4
testNameWasAssigned()
S
74 1 4
testValidatedNameThrowsWithEmptyValue()
S
75 1 4
testIdAssigned()
S
74 1 4
testValidateIdThrowsWithoutUuid()
S
75 1 4
testValidateIdThrowsWithEmptyValue()
S
75 1 4
testTypeAssigned()
S
75 1 4